Swift vs
Kotlin
Translation job is on going
From Swift View (5.3)
From Kotlin View (1.4.30)
Getting Started
- 
Basic Syntax
✅
- 
Idioms
✅
- 
Coding Conventions
✅
Basics
- 
Basic Types
✅
- 
Packages and Imports
✅
- 
Control Flow
✅
- 
Returns and Jumps
✅
Classes and Objects
- 
Classes and Inheritance
✅
- 
Properties and Fields
✅
- 
Interfaces
✅
- 
Functional (SAM) Interfaces
✅
- 
Visibility Modifiers
✅
- 
Extensions
✅
- 
Data Classes
- 
Sealed Classes
✅
- 
Nested Classes
- 
Enum Classes
✅
- 
Objects
✅
- 
Type Aliases
✅
- 
Inline Classes
- 
Delegation
✅
- 
Delegated Properties
Functions and Lambdas
- 
Lambdas
- 
Inline Functions
Collections
- 
Collections Overview
- 
Constructing Collections
- 
Iterators
- 
Ranges and Progressions
- 
Sequences
- 
Operations Overview
- 
Transformations
- 
Filtering
✅
- 
Plus and Minus Operators
- 
Grouping
- 
Retrieving Collection Parts
- 
Retrieving Single Elements
- 
Ordering
- 
Aggregate Operations
- 
Collection Write Operations
- 
List Specific Operations
- 
Set Specific Operations
- 
Map Specific Operations
Coroutines
- 
Basics
- 
Cancellation and Timeouts
- 
Composing Suspending Functions
- 
Coroutine Context and Dispatchers
- 
Asynchronous Flow
- 
Channels
- 
Exception Handling and Supervision
- 
Shared Mutable State and Concurrency
- 
Select Expression (experimental)
More Language Constructs
- 
Destructuring Declarations
- 
Type Checks and Casts
- 
This expressions
- 
Equality
- 
Operator overloading
- 
Null Safety
- 
Exceptions
- 
Annotations
- 
Reflection
- 
Serialization
- 
Scope Functions
- 
Type-Safe Builders
Kotlin
Equality
Swift
Structural equality
a?.equals(b) ?: (b === null)
a?.equals(b) ?? (b === null)